//
// Created by vikey on 2022/4/11.
//

#ifndef ZINT__QRCODETOOLS_H_
#define ZINT__QRCODETOOLS_H_

class QrCodeTools {
 public:
  static bool GenerateBarcode(const char *text, int len, const char* outfile);
 private:
  // ECC Level.It can be large when ECC Level is larger.(value:1-4)
  static constexpr int ecc_level_ = 3;
  // 版本，决定图片大小，取值范围为1 - 40，数值越大生成的图像越大，有些例子称之为版本version
  static constexpr int version_ = 10;
  // contorl qrcode file size, default is 1, used to be 4
  static constexpr float scale_ = 1.32;
};

#endif //ZINT__QRCODETOOLS_H_
